package com.lizhangjun.nim.constant;

/**
 * 消息类型
 */
public enum MineType {


    TEXT("文本", 1),
    IMAGE("图片", 2),
    VOICE("声音", 3),
    VIDEO("视频", 4);

    private String name;

    private Integer index;

    MineType(String name, Integer index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }
}
